package com.bbcare.switchData.entity.model;

import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


public class PtCptaskInfo extends BaseEntityForBB<PtCptaskInfo> {

	private String ptNodeId; // 节点实例id
	private String ptStageId; // 阶段实例id
	private String ptPlanId; // 计划实例id
	private String userId; // 队列患者id
	private String teUserId; // 租户患者id
	private String clUserId; // 平台患者id
	private String queueId; // 队列id
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date createTime; // 创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date updateTime; // 更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date finishTime; // 完成时间
	private String createAuthor; // 创建者id
	private String updateAuthor; // 更新者id
	private String updateAuname; //更新者姓名
	private String updateAccept; // 操作流水
	private String projectId; // 项目id
	private String tenantId; // 租户id
	private String taskStatus; // 任务状态，0初始化(未开始), 1正常(完成), 4待审核(未完成), 5审核不通过(未完成)
	private String recordName; // 任务记录名称
	private Integer seqNo; // 节点序号，升序排列
	private String oriTaskId; // 路径节点任务模板id
	private String busiType; // 任务业务类型大类，参考表：bs_static_param.type=1017配置
	private String taskType; // 任务类型，1 必做任务，2 选做任务
	private String templType; // 任务内容模板类型，01 json问卷类型, 02 独立的评估量表, 03 html页面, 其他待扩展
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date finishDate; // 完成日期或检查日期
	private String eventCode; // 活动（事件）编码（参考表：ehr_event_info配置）
	private String taskName; // 任务名称
	private String processType; // 任务处理类型  1：时间段内 不定时多次填写  2：节填写一次 
	private String subBusiType; // 业务类型小类，参考表：bs_static_param.type=1019配置
	private String finishFlag; // 完成状态，1窗口期内完成，2过期补填完成
	private String createChannelType; // 渠道类型
	private String createChannelId; // 渠道id
	private String updateChannelType; // 更新渠道类型
	private String updateChannelId; // 渠道id
	private String createProjectRole; // 创建者角色id
	private String updateProjectRole; // 更新者角色id
	private String subBusiCode; // 任务类型
	private String taskIntro; // 备注说明
	private String temporaryTask; // 临时任务 1

	private String userName;
	private String accountId;
	private String deptName;
	//下次门诊检查时间
	private String nextCheckTime;

	public String getNextCheckTime() {
		return nextCheckTime;
	}

	public void setNextCheckTime(String nextCheckTime) {
		this.nextCheckTime = nextCheckTime;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getPtNodeId() {
		return ptNodeId;
	}
	
	public void setPtNodeId(String ptNodeId) {
		this.ptNodeId = ptNodeId;
	}
	
	public String getPtStageId() {
		return ptStageId;
	}
	
	public void setPtStageId(String ptStageId) {
		this.ptStageId = ptStageId;
	}
	
	public String getPtPlanId() {
		return ptPlanId;
	}
	
	public void setPtPlanId(String ptPlanId) {
		this.ptPlanId = ptPlanId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getTeUserId() {
		return teUserId;
	}
	
	public void setTeUserId(String teUserId) {
		this.teUserId = teUserId;
	}
	
	public String getClUserId() {
		return clUserId;
	}
	
	public void setClUserId(String clUserId) {
		this.clUserId = clUserId;
	}
	
	public String getQueueId() {
		return queueId;
	}
	
	public void setQueueId(String queueId) {
		this.queueId = queueId;
	}
	
	public java.util.Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public java.util.Date getFinishTime() {
		return finishTime;
	}
	
	public void setFinishTime(java.util.Date finishTime) {
		this.finishTime = finishTime;
	}
	
	public String getCreateAuthor() {
		return createAuthor;
	}
	
	public void setCreateAuthor(String createAuthor) {
		this.createAuthor = createAuthor;
	}
	
	public String getUpdateAuthor() {
		return updateAuthor;
	}
	
	public void setUpdateAuthor(String updateAuthor) {
		this.updateAuthor = updateAuthor;
	}

	public String getUpdateAuname() {
		return updateAuname;
	}

	public void setUpdateAuname(String updateAuname) {
		this.updateAuname = updateAuname;
	}

	public String getUpdateAccept() {
		return updateAccept;
	}
	
	public void setUpdateAccept(String updateAccept) {
		this.updateAccept = updateAccept;
	}
	
	public String getProjectId() {
		return projectId;
	}
	
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	public String getTenantId() {
		return tenantId;
	}
	
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	
	public String getTaskStatus() {
		return taskStatus;
	}
	
	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}
	
	public String getRecordName() {
		return recordName;
	}
	
	public void setRecordName(String recordName) {
		this.recordName = recordName;
	}
	
	public Integer getSeqNo() {
		return seqNo;
	}
	
	public void setSeqNo(Integer seqNo) {
		this.seqNo = seqNo;
	}
	
	public String getOriTaskId() {
		return oriTaskId;
	}
	
	public void setOriTaskId(String oriTaskId) {
		this.oriTaskId = oriTaskId;
	}
	
	public String getBusiType() {
		return busiType;
	}
	
	public void setBusiType(String busiType) {
		this.busiType = busiType;
	}
	
	public String getTaskType() {
		return taskType;
	}
	
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	
	public String getTemplType() {
		return templType;
	}
	
	public void setTemplType(String templType) {
		this.templType = templType;
	}
	
	public java.util.Date getFinishDate() {
		return finishDate;
	}
	
	public void setFinishDate(java.util.Date finishDate) {
		this.finishDate = finishDate;
	}
	
	public String getEventCode() {
		return eventCode;
	}
	
	public void setEventCode(String eventCode) {
		this.eventCode = eventCode;
	}
	
	public String getTaskName() {
		return taskName;
	}
	
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	
	public String getProcessType() {
		return processType;
	}
	
	public void setProcessType(String processType) {
		this.processType = processType;
	}
	
	public String getSubBusiType() {
		return subBusiType;
	}
	
	public void setSubBusiType(String subBusiType) {
		this.subBusiType = subBusiType;
	}
	
	public String getFinishFlag() {
		return finishFlag;
	}
	
	public void setFinishFlag(String finishFlag) {
		this.finishFlag = finishFlag;
	}
	
	public String getCreateChannelType() {
		return createChannelType;
	}
	
	public void setCreateChannelType(String createChannelType) {
		this.createChannelType = createChannelType;
	}
	
	public String getCreateChannelId() {
		return createChannelId;
	}
	
	public void setCreateChannelId(String createChannelId) {
		this.createChannelId = createChannelId;
	}
	
	public String getUpdateChannelType() {
		return updateChannelType;
	}
	
	public void setUpdateChannelType(String updateChannelType) {
		this.updateChannelType = updateChannelType;
	}
	
	public String getUpdateChannelId() {
		return updateChannelId;
	}
	
	public void setUpdateChannelId(String updateChannelId) {
		this.updateChannelId = updateChannelId;
	}
	
	public String getCreateProjectRole() {
		return createProjectRole;
	}
	
	public void setCreateProjectRole(String createProjectRole) {
		this.createProjectRole = createProjectRole;
	}
	
	public String getUpdateProjectRole() {
		return updateProjectRole;
	}
	
	public void setUpdateProjectRole(String updateProjectRole) {
		this.updateProjectRole = updateProjectRole;
	}
	
	public String getSubBusiCode() {
		return subBusiCode;
	}
	
	public void setSubBusiCode(String subBusiCode) {
		this.subBusiCode = subBusiCode;
	}
	
	public String getTaskIntro() {
		return taskIntro;
	}
	
	public void setTaskIntro(String taskIntro) {
		this.taskIntro = taskIntro;
	}
	
	public String getTemporaryTask() {
		return temporaryTask;
	}
	
	public void setTemporaryTask(String temporaryTask) {
		this.temporaryTask = temporaryTask;
	}
	
}
